package com.scau.databaseexam.beans;

import java.util.Date;

public class Item {
    private String id;
    private String image;
//    private Byte[] image;
    private String script;
    private String name;
    private Date date;
    private String uid;

    public Item(){}


    public Item(String id, String image, String script, String name, Date date, String uid) {
        this.id = id;
        this.image = image;
        this.script = script;
        this.name = name;
        this.date = date;
        this.uid = uid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Item{" +
                "id='" + id + '\'' +
                ", image=" + (image)+
                ", script='" + script + '\'' +
                ", name='" + name + '\'' +
                ", date=" + date +
                ", uid='" + uid + '\'' +
                '}';
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getScript() {
        return script;
    }

    public void setScript(String script) {
        this.script = script;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }





}
